package com.yzw.dao.entity;

import lombok.Data;

import java.util.Date;

/**
 * @author yzw
 * @date 2022/8/27 14:48
 * @desc
 */
@Data
public class BaseEntity {
    private Long id;
    private Date createDate;
    private Date updateDate;
    private Long version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}
